AmeliaBooking\Application\Services\Reservation\AppointmentReservationService C

Total Complexity 107
Dependencies 28
Dependents 0
Total lines 914
Lines of code 566
Logical lines of code 225
Comment lines 192
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
bookSingle()
D
26
32 146
getWooCommerceData()
B
34 18 89
book()
A
40 14 61
getReservationByPayment()
A
35 10 94
updateStatus()
A
41 8 59
updateWooCommerceOrder()
A
50 8 29
getReservationPaymentAmount()
S
51 5 29
getUnavailableSlotsInfo()
S
54 3 22
getBookingPeriods()
S
55 3 19
isExtraAggregatedPrice()
S
75 2 4
getType()
S
82 1 3
getBookableEntity()
S
74 1 4
isAggregatedPrice()
S
81 1 3
getReservationByBookingId()
S
75 1 4